package com.young.mylib.db.entity;


import com.alibaba.fastjson.JSONArray;

/**
 * Created by Young on 2018/10/14.
 */

public class FailpointEntity extends FailpointStatusEntity {
    /**
     * 点停次数
     * 如果PLC中无法读到，此项为-1
     */
    public int count;
    /**
     * 点停时长（秒）
     * 如果PLC中无法读到，此项为-1
     */
    public String timeLength;
    public boolean isPoint;
    public JSONArray timeArray;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getTimeLength() {
        return timeLength;
    }

    public void setTimeLength(String timeLength) {
        this.timeLength = timeLength;
    }

    public boolean isPoint() {
        return isPoint;
    }

    public void setPoint(boolean point) {
        isPoint = point;
    }

    public JSONArray getTimeArray() {
        return timeArray;
    }

    public void setTimeArray(JSONArray timeArray) {
        this.timeArray = timeArray;
    }
}
